package cn.xfdzx.android.apps.shop.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * @author gzk
 * @date 2020/9/11 0011
 * description：
 */
public class FamilyBuyBeen {

    /**
     * data : {"activity_index_pic":"","activity_index_pic_s":"http://xfdzx-app.oss-cn-beijing.aliyuncs.com/","eject_index_pic":"","family_shopping_activity":[{"cart_num":0,"discountprice":"3.80","goods_id":10786,"marketprice":"4.00","role_id":131729,"tag_id":4,"thumb":"https://xfdzx-app.oss-cn-beijing.aliyuncs.com/images/6/2020/06/279_2020060206553624437600.jpg","title":"黄瓜"}],"id":5,"name":"零售内测活动","type":0}
     * msg : ok
     * status : 200
     */

    private DataBean data;
    private String msg;
    private int status;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public static class DataBean {
        /**
         * activity_index_pic :
         * activity_index_pic_s : http://xfdzx-app.oss-cn-beijing.aliyuncs.com/
         * eject_index_pic :
         * family_shopping_activity : [{"cart_num":0,"discountprice":"3.80","goods_id":10786,"marketprice":"4.00","role_id":131729,"tag_id":4,"thumb":"https://xfdzx-app.oss-cn-beijing.aliyuncs.com/images/6/2020/06/279_2020060206553624437600.jpg","title":"黄瓜"}]
         * id : 5
         * name : 零售内测活动
         * type : 0
         */

        private String activity_index_pic;
        private String activity_index_pic_s;
        private String eject_index_pic;
        private String id;
        private String name;
        private int type;
        private List<FamilyShoppingActivityBean> family_shopping_activity;

        public String getActivity_index_pic() {
            return activity_index_pic;
        }

        public void setActivity_index_pic(String activity_index_pic) {
            this.activity_index_pic = activity_index_pic;
        }

        public String getActivity_index_pic_s() {
            return activity_index_pic_s;
        }

        public void setActivity_index_pic_s(String activity_index_pic_s) {
            this.activity_index_pic_s = activity_index_pic_s;
        }

        public String getEject_index_pic() {
            return eject_index_pic;
        }

        public void setEject_index_pic(String eject_index_pic) {
            this.eject_index_pic = eject_index_pic;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public List<FamilyShoppingActivityBean> getFamily_shopping_activity() {
            return family_shopping_activity;
        }

        public void setFamily_shopping_activity(List<FamilyShoppingActivityBean> family_shopping_activity) {
            this.family_shopping_activity = family_shopping_activity;
        }

        public static class FamilyShoppingActivityBean implements MultiItemEntity {
            /**
             * cart_num : 0
             * discountprice : 3.80
             * goods_id : 10786
             * marketprice : 4.00
             * role_id : 131729
             * tag_id : 4
             * thumb : https://xfdzx-app.oss-cn-beijing.aliyuncs.com/images/6/2020/06/279_2020060206553624437600.jpg
             * title : 黄瓜
             */

            public  static  final  int TYPEFOOT=1;
            public  static  final  int TYPEOTHER=0;
            private int cart_num;
            private String discountprice;
            private String goods_id;
            private String marketprice;
            private String role_id;
            private String tag_id;
            private String thumb;
            private String title;
            private int type;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getCart_num() {
                return cart_num;
            }

            public void setCart_num(int cart_num) {
                this.cart_num = cart_num;
            }

            public String getDiscountprice() {
                return discountprice;
            }

            public void setDiscountprice(String discountprice) {
                this.discountprice = discountprice;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getMarketprice() {
                return marketprice;
            }

            public void setMarketprice(String marketprice) {
                this.marketprice = marketprice;
            }

            public String getRole_id() {
                return role_id;
            }

            public void setRole_id(String role_id) {
                this.role_id = role_id;
            }

            public String getTag_id() {
                return tag_id;
            }

            public void setTag_id(String tag_id) {
                this.tag_id = tag_id;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            @Override
            public int getItemType() {
                return type;
            }
        }
    }
}
